package com.cb.domain.model.order;


import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * InsuranceCompany Base Java Bean, base class for the model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * 保险公司
 */
@Entity
@Table(name="insurance_company")
public class InsuranceCompany implements Serializable {

    protected Long id;
	protected String insuranceName;
	protected String type;
	protected String status;
	protected Long price;
	protected Long discountPrice;
	protected String description;
	protected Integer bxType;
	
	/**
	 * @return the bxType
	 */
	@Column(name="bxType")
	public Integer getBxType() {
		return bxType;
	}

	/**
	 * @param bxType the bxType to set
	 */
	public void setBxType(Integer bxType) {
		this.bxType = bxType;
	}

	@Column(name = "description")
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	
	@Id     
    @GeneratedValue(generator="Id_Generator")
    @GenericGenerator(name="Id_Generator", strategy="com.cb.common.util.IdGenerator")
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	

	/**
	 * 	 * @return String
	 * @hibernate.property column="insurance_name" type="java.lang.String" length="100" not-null="false" unique="false"
	 */
	
	@Column(name = "insurance_name")	
	public String getInsuranceName() {
		return this.insuranceName;
	}
	
	/**
	 * Set the insuranceName
	 */	
	public void setInsuranceName(String aValue) {
		this.insuranceName = aValue;
	}	

	/**
	 * 	 * @return String
	 * @hibernate.property column="type" type="java.lang.String" length="50" not-null="false" unique="false"
	 */
	
	@Column(name = "type")	
	public String getType() {
		return this.type;
	}
	
	/**
	 * Set the type
	 */	
	public void setType(String aValue) {
		this.type = aValue;
	}	

	/**
	 * 	 * @return String
	 * @hibernate.property column="status" type="java.lang.String" length="50" not-null="false" unique="false"
	 */
	
	@Column(name = "status")	
	public String getStatus() {
		return this.status;
	}
	
	/**
	 * Set the status
	 */	
	public void setStatus(String aValue) {
		this.status = aValue;
	}	

	/**
	 * 	 * @return Long
	 * @hibernate.property column="price" type="java.lang.Long" length="19" not-null="false" unique="false"
	 */
	
	@Column(name = "price")	
	public Long getPrice() {
		return this.price;
	}
	
	/**
	 * Set the price
	 */	
	public void setPrice(Long aValue) {
		this.price = aValue;
	}	

	/**
	 * 	 * @return Long
	 * @hibernate.property column="discount_price" type="java.lang.Long" length="19" not-null="false" unique="false"
	 */
	
	@Column(name = "discount_price")	
	public Long getDiscountPrice() {
		return this.discountPrice;
	}
	
	/**
	 * Set the discountPrice
	 */	
	public void setDiscountPrice(Long aValue) {
		this.discountPrice = aValue;
	}	

}